package com.dailyblue.java.project.bookstore.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ShoppingCart implements Serializable {

    private String userId;
    private String bookId;
    private Integer number;
    private String bookName;
    private String imageName;
    private String publisher;
    private Double price;

    public ShoppingCart(String userId, String bookId, Integer number) {
        this.userId = userId;
        this.bookId = bookId;
        this.number = number;
    }
}
